﻿<!--工具按钮模块-->
<div class="mini-toolbar" style="padding:2px;border-top:0;border-left:0;border-right:0;"> 
    <table style="width:100%;">
        <tr>
            <td style="width:100%;">
                <a class="mini-button" id="fresh" name="fresh" iconCls="icon-search" onclick="search" plain="true">刷新</a>                 
                <a class="mini-button" id="new" name="new" iconCls="icon-new" onclick="newBill" plain="true" visible="@ViewBag.add">新增</a>
                <a class="mini-button" id="edit" name="edit" iconCls="icon-edit" onclick="modify" plain="true" visible="@ViewBag.edit">修改</a>
                <a class="mini-button" id="delrow" name="delrow" iconCls="icon-remove" onclick="removeInfo" plain="true" visible="@ViewBag.remove">删除</a>                
                <a class="mini-menubutton" plain="true" iconCls="icon-expand" menu="#popupMenuFile">选项</a>
                 <span class="separator"></span>
                <a class="mini-button" id="close" name="close" iconCls="icon-close" onclick="CloseWindow" plain="true">关闭</a>
            </td>
        </tr>
    </table>
    <ul id="popupMenuFile" class="mini-menu" style="display:none;">
        @*<li id="importFile" name="import" iconCls="icon-find" onclick="ExcelImport" visible="@ViewBag.import">从Excel导入</li>*@
        <li id="importFile" name="import" iconCls="icon-find" onclick="ExcelImport"  visible="false">从Excel导入</li>
        <li id ="resetpwd" name="resetpwd" iconCls="icon-edit" onclick="resetpwd" visible="@ViewBag.resetpwd">重置密码</li>
        <li id ="editpwd" name="editpwd" iconCls="icon-expand" onclick="editpwd" visible="@ViewBag.editpwd">修改密码</li>
        <li id ="Batchset" name="Batchset" iconCls="icon-filter" onclick="Batchset" visible="@ViewBag.batchset">批量设置</li>
    </ul>           
</div>